﻿<ad:DocumentContent x:Class="IllSoft.Xvcc.WpfUI.ServerWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:ad="clr-namespace:AvalonDock;assembly=AvalonDock"
    Title="Server" DefaultElement="{Binding ElementName=channelsListView}" Width="640" Height="480">

    <!--<ad:dockingmanager Width="1024" Height="768">-->
    <ad:DockingManager>
        <ad:ResizingPanel Orientation="Horizontal">
            <ad:DockablePane ad:ResizingPanel.ResizeWidth="200">
                <ad:DockableContent Title="Channels">
                    <ListView Name="channelsListView" SelectionChanged="channelsListView_SelectionChanged" MouseDoubleClick="channelsListView_MouseDoubleClick">
                        <ListView.View>
                            <GridView>
                                <GridViewColumn Header="Channels" Width="Auto" />
                            </GridView>
                        </ListView.View>
                    </ListView>
                </ad:DockableContent>
            </ad:DockablePane>
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="*" />
                    <RowDefinition Height="Auto" />
                </Grid.RowDefinitions>
                <ListView Name="usersListView" Grid.Row="0">
                    <ListView.View>
                        <GridView>
                            <GridViewColumn Header="Nick" DisplayMemberBinding="{Binding Nick}" />
                            <GridViewColumn Header="Profile" DisplayMemberBinding="{Binding Profile}" />
                        </GridView>
                    </ListView.View>
                </ListView>
                <Grid Grid.Row="1">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto" />
                        <ColumnDefinition />
                    </Grid.ColumnDefinitions>
                    <TextBox Name="nickTextBox" Grid.Column="0" Width="150" Text="Killah" />
                    <TextBox Name="profileTextBox" Grid.Column="1" />
                </Grid>
            </Grid>
        </ad:ResizingPanel>
    </ad:DockingManager>
</ad:DocumentContent>
